package com.itheima.springboot_student.mapper;

import com.itheima.springboot_student.domain.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther LiTao
 * 此为源码，盗版必究！
 * @Date 2020-4-27 21:05
 */
@Mapper
@Repository
public interface StudentMapper {
    public List<Student> findAll();
    public void update(Student student);
    public void insert(Student student);
    public void  delete(Integer id);
}
